<?php 

/**
* 首页控制器
*/
class LoginController 
{
	
	public function index()
	{
		echo "后台登录控制器的index方法";
	}

	public function loginout(){
		echo "后台登录控制器的退出方法";
	}


	public function checkname()
	{
		$sql = "select * from stu where name='小明'";

		$res = M()->query($sql);

		var_dump($res);
	}

	public function a(){
		echo 'aaaaaaa';
	}
}
